import { createSSRApp } from 'vue';
// import {hasButton} from '@/utils/hasButton'
import RouterGuard from '@/router/router-guard';
import 'virtual:svg-icons-register';
import App from './App.vue';
// @ts-ignore
import pinia from '@/stores'
// 全局路由守卫
RouterGuard();
export function createApp() {
	const app = createSSRApp(App);
	app.use(pinia)
	return {
		app
		
	};
}
